Skip to content

feat: workflow run details page#924

Open
meryemefe wants to merge 5 commits intostagingfrom
feat/workflow-run-details
Open

feat: workflow run details page#924
meryemefe wants to merge 5 commits intostagingfrom
feat/workflow-run-details

Conversation

@meryemefe
Copy link
Contributor

Motivation

Previously Workflow Runs tab has implemented and placed in CI/CD menu. Now, Workflow Run Detail page is added to see Jobs, Tests (if exists). Additionally, Helios was not supporting re-run a workflow and re-run failed jobs features before. Also, cancellation a deployment was possible but we didn't have cancel workflow functionality. Now, these three options are also added to Workflow Run Detail page. This PR is related to these issue: #913 #918

Description

This PR introduces end-to-end workflow run details support and action handling across backend and frontend.

  • Added backend API endpoints for:
    • fetching workflow run details by run ID,
    • canceling a workflow run,
    • re-running all jobs in a workflow run,
    • re-running failed jobs only,
    • fetching test results by workflow run ID.
  • Extended GitHub integration service to execute workflow run actions (cancel, rerun, rerun-failed-jobs) with shared error handling.
  • Added a dedicated Workflow Run Details page and route.
  • Enhanced workflow runs table UX:
    • row click navigation to run details,
    • clearer columns (test processing, duration),
    • improved date/time display.
  • Refactored workflow jobs rendering:
    • extracted reusable workflow-job-list component,
    • reused it in environments and run-details views.
  • Extended pipeline test results selection to support workflowRunId.
  • Improved run-details polling after action triggers, so delayed GitHub synchronization can still be reflected in the UI without manual refresh.

Testing Instructions

Prerequisites:

  • GitHub account with normal developer access (no admin/owner permissions required).
  • A repository connected in Helios with existing workflow runs.
  • At least one completed workflow run (preferably one failed run to test “Re-run failed”)

Flow:

  1. Log in to Helios as a Developer with write access
  2. Open a repository and navigate to CI/CD > Workflow Runs.
  3. Open a failed workflow run details page that includes test cases.
  4. On the details page, verify baseline data:
  • run title/status/branch/SHA/timestamps are visible,
  • jobs list is rendered,
  • test results section loads for test-labeled runs.
  1. Trigger actions:
  • click Re-run All on a completed run,
  • click Re-run Failed on a failed run,
  • click Cancel on an active run.
  1. Confirm behavior after each action:
  • success toast appears,
  • page updates status/jobs without hard refresh,
  • delayed GitHub sync is eventually reflected (allow up to ~2 minutes).
  1. Logout or login with readonly access.
  2. Verify that Jobs component and re-run/cancel buttons are not visible.

Screenshots

Screenshot 2026-03-20 at 13 34 19 Screenshot 2026-03-20 at 13 34 03 Screenshot 2026-03-20 at 13 35 09 Screenshot 2026-03-20 at 13 43 47

Checklist

General

Server

  • Code is performant and follows best practices
  • I documented the Java code using JavaDoc style.

Client

  • I documented the TypeScript code using JSDoc style.
  • I added multiple screenshots/screencasts of my UI changes.

@codacy-production
Copy link

codacy-production bot commented Mar 20, 2026

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.58% (target: -1.00%) 45.23%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (437fcaa) 8387 2715 32.37%
Head commit (bfeab78) 8533 (+146) 2812 (+97) 32.95% (+0.58%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#924) 241 109 45.23%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@meryemefe meryemefe marked this pull request as ready for review March 21, 2026 11:44
@meryemefe meryemefe requested a review from a team as a code owner March 21, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant